package com.xie.service.Impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xie.mapper.AppartusDao;
import com.xie.mapper.ManagerDao;
import com.xie.pojo.Appartus;
import com.xie.pojo.Manager;
import com.xie.service.AppartusService;
import com.xie.service.ManagerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ManagerServiceImpl extends  ServiceImpl<ManagerDao, Manager> implements ManagerService {

    @Autowired
    private ManagerDao managerDao;
    @Override
    public List<Manager> paiban() {
        List<Manager> paiban = managerDao.paiban();
        return paiban;
    }
}
